package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.TravelCollection;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface TravelCollectionMapper {


    List<TravelCollection> selectAll();
    int insert(@Param("userId") Long userId, @Param("travelId") Long travelId, @Param("date") Date date);
    TravelCollection get(@Param("userId") Long userId, @Param("travelId") Long travelId);

    void delete(@Param("userId") Long userId, @Param("travelId") Long travelId);
}